home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
help_jr
/
load
< prev
next >
Wrap
Text File
|
1994-02-21
|
938b
|
31 lines
load:
Syntax: load( "filename" )
Description:
Load opens the file name denoted by string argument and reads
it's contents as though a user were typing the contents at the
command line. Thus a user can use load() to enter data,
user-functions, or execute repetitive commands saved in a
file. there is no limit to the number of functions, or regular
statements that can exist in a file called by load().
Immediately after the the input is read, load() closes the
file, so that subsequent calls to load() will re-open the
file.
Load requires that a complete file specification be provided.
If the file is in the present working directory, then only the
filename is necessary otherwise, a complete path is required.
In most cases the rfile command is simpler to use.
Example:
// load the roots() function into memory
> load( "roots.r" )
Load can now be used from within functions, and loops.
See Also: FILES, rfile